home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Workbench
/
Archivers
/
ViewDIZ.lha
/
ViewDIZ
/
Free Registration
next >
Wrap
Text File
|
1998-01-24
|
2KB
|
100 lines
;$VER: ViewDIZ_RegistrationScript 1.0
(message
"\n"
"V I E W D I Z R E G I S T R A T I O N \n\n"
"The following section will prepare the order form "
"required to become a registered user of ViewDIZ. When done "
"it will be saved to disk - ready to be mailed to me.\n\n"
"ViewDIZ is FREEWARE - Registering will automatically put you "
"on my mailing list and you will recieve an e-mail each time a "
"new version comes up. Furthermore you are encouraging me to "
"keep developing ViewDIZ. Thanks !\n\n"
"Mikael Lund"
)
(set #name
(askstring (prompt "\nWhat is your name ?\n") (help ""))
)
(set #country
(askstring (prompt "\nIn which country or state do you live in ?:\n") (help ""))
)
(set #town
(askstring (prompt "\nWhere in "#country" more precisely ?\n") (help ""))
)
(set #email
(askstring (prompt "\nPlease enter your e-mail address ?\n") (help ""))
)
(run "version c:viewdiz >env:vd_os")
(set #ver (getenv "vd_os"))
(delete "vd_os")
(set #ver (substr #ver 0 (- (strlen #ver) 1)))
(set #ver
(askstring (prompt "\nWhat ViewDIZ version do you have ?\n") (default #ver) (help ""))
)
(run "version >env:vd_os")
(set #os (getenv "vd_os"))
(delete "vd_os")
(set #os (substr #os 0 (- (strlen #os) 1)))
(set #os
(askstring (prompt "\nWhat operating system(s) do you have ?\n") (default #os) (help ""))
)
(set #cpu (database "cpu"))
(set #cpu
(askstring (prompt "\nWhat CPU(s) do you have ?\n") (default #cpu) (help ""))
)
(set #comment
(askstring (prompt "\nDo you have any comments, suggestions etc. you would like to tell me about ?\n") (help ""))
)
(set #nl "\n" #final
(cat
" $VER: "#ver #nl
" NAME: "#name #nl
"COUNTRY: "#country #nl
" TOWN: "#town #nl
" E-MAIL: "#email #nl
" CPU: "#cpu #nl
" OS: "#os #nl
"COMMENT: "#comment #nl
)
)
(set @default-dest
(askdir
(prompt "Where should the orderform be saved to ?")
(help "")
(default "Ram:")
)
)
(set #out (tackon @default-dest "ViewDIZ_Regform"))
(textfile
(dest #out)
(append #final)
)
(if (exists "YAM:YAM" (noreq))
(rexx "c/YAMail "#out)
)
(exit "\n"
"That's it ! Now mail the file to me "
"and you'll recieve an e-mail when the next ViewDIZ "
"version is available. If you have got any questions, suggestions "
"or whatever you are welcome to contact me at the following address:\n"
"\nMikael Lund"
"\n╞girsgade 66, 2th."
"\n2200 K°benhavn N"
"\nDenmark"
"\n\nki9656@unidhp.uni-c.dk"
)
(welcome)